<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@include file="mytags.jsp"%>
<t:base type="jquery"></t:base>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>我的会员认证</title>
</head>
<body>
<div class="set2" style="margin-bottom: 10px;">
    <ul class="mui-table-view view1">
        <li class="mui-table-view-cell cell2">
            <a>
                <img src="${webRoot }images/rzt1.png">
                认证状态<span style="color: #e70012;">
                        认证通过
                    </span>
            </a>
        </li>
    </ul>
</div>
<div class="tq">
    <h3><img src="${webRoot}/images/about.jpg">什么是认证会员？</h3>
    <div class="mui-content biage">
        <ul class="mui-table-view mui-grid-view" style="margin-top: 10px;">
            <p class="renz">中影巴可光影俱乐部认证会员是针对影院主管或商务等用户设立的，认证通过后将向认证用户提供更多影院级别的服务。包括：</p>
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3 biage_l"><a href="#">
                <span><img src="${webRoot}/images/rz1.png"></span>
                <div class="mui-media-body">影院设备<br/>管理</div>
            </a></li>
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3 biage_l"><a href="#">
                <span><img src="${webRoot}/images/rz2.png"></span>
                <div class="mui-media-body">服务评价</div>
            </a></li>
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3 biage_l"><a href="#">
                <span><img src="${webRoot}/images/rz3.png"></span>
                <div class="mui-media-body">服务预约</div>
            </a></li>
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3 biage_l"><a href="#">
                <span><img src="${webRoot}/images/rz4.png"></span>
                <div class="mui-media-body">零件及维保<br/>订购</div>
            </a></li>
        </ul>
    </div>
</div>
<div class="mui-content-padded" style="margin-bottom: 20px; text-align: center;height:38px;margin-top: 10px;">
    <a class="mui-btn mui-btn-block mui-btn-primary logOff" style="padding: 5px 0;width:100%;float:right" href="#">注销</a>
</div>

</body>

<script type="text/javascript">
    $(function(){
        $(".logOff").click(function(){
            var o = $(this);
            // mui.confirm("该操作会由金牌用户降级为银牌用户，确定继续吗？", "注销提示", '', function (btValue) {
            mui.confirm("该操作会由钻石用户降级为银牌用户，确定继续吗？", "注销提示", '', function (btValue) {
                if (btValue.index == 1) {
                    $.getJSON("loginWxController.do?logOff&id=${user.id}",{},function(data){
                        var msg = "注销成功，您现在是银牌用户。";
                        if(!data.success){
                            msg = data.msg;
                        }

                        try{
                            o.parent().hide();
                        }catch(e){

                        }
                        mui.alert(msg,"注销提示");
                    })
                }
            });

        })
    })
</script>
</html>